package cn.asura.pojo;

import lombok.Data;

import java.util.Date;

/**
 * 存放 blog 的实体类
 * @author chen
 */
@Data
public class Blog {
    private Integer id;
    private Integer userId;
    private User user = new User();
    private String title;
    private String content;
    private Integer blogTypeId;
    private BlogType blogType = new BlogType();
    private Date insertTime;
    private String insertUser;
    private Date updateTime;
    private Integer views;
}
